﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="manager_AllEval_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>全部考评</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <section class="content-header">
        <h1>全部考评
            <small>近期考评</small>
        </h1>
        <ol class="breadcrumb">
            <li><a><i class="fa fa-dashboard"></i>主页</a></li>
            <li><a href="userManager.aspx">考评专员</a></li>
            <li class="active">全部考评</li>
        </ol>
    </section>

    <section class="content">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title"><%=Html_Title %></h3>
            </div>
            <div class="box-header with-border">
                <div>
                    <div class="col-md-12">
                        <asp:Button ID="Button1" runat="server" Text="上月考评" CssClass="btn btn-primary" OnClick="btnUpdate_Click1" />
                        &nbsp;&nbsp;
                        <asp:Button ID="Button2" runat="server" Text="上月考评" CssClass="btn btn-danger" OnClick="btnUpdate_Click2" />
                    </div>
                </div>
            </div>
            <ul class="nav nav-tabs" role="tablist">
                <%=Html_Dept %>
            </ul>
            <div class="tab-content">
                <%=Html_Dept_Detail %>
            </div>
        </div>
    </section>
    <div style="display: none">
        <input type="text" id="dept_id" runat="server" />

    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="Server">
    <script>
        $(document).ready(function () {
            var type = $("#ContentPlaceHolder_dept_id").val();
            var arr_dept = type.split("|");
            for (var i = 0; i < arr_dept.length; i++) {
                $("#table_" + arr_dept[i]).DataTable(
                               {
                                   "columnDefs": [
                                       { "targets": [0], "visible": false }
                                   ],
                                   "autoWidth": true,
                                   "ordering": false,
                                   "scroll": true,
                                   "language": {
                                       "url": "/reference/plugins/datatables/Chinese.json"
                                   }
                               });
            }
        });
    </script>
</asp:Content>



